﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Logoned.Master" Inherits="System.Web.Mvc.ViewPage<CourseSystem.Core.Entities.CourseGuideSubMenuInfo>" %>

<%@ Import Namespace="Chowpoo.Util" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<%@ Import Namespace="CourseSystem.Core.BLL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    课程导学
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <% Html.RenderPartial("TopUc"); %>
        <% Html.RenderPartial("NavUc", 1); %>
        <% Html.RenderPartial("GuideNavUc", Model.MenuId); %>
    </table>
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="200" align="center" valign="top" background="<%=ResolveUrl("~/Content/images/4_17.jpg")%>">
                <table width="1000" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="10">
                        </td>
                    </tr>
                </table>
                <table width="980" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="222" height="500" align="center" valign="top">
                            <table width="222" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="37" background="<%=ResolveUrl("~/Content/images/6_000.jpg")%>">
                                        <div style="color: White; text-align: center; font-size: 17px; font-weight: bold">
                                            <%=GuideHelper.GetType(ViewData["Type"].CheckInt(0))%></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="120" align="center" valign="top" background="<%=ResolveUrl("~/Content/images/3_20.jpg")%>">
                                        <% foreach (var item in CourseGuideSubMenuBLL.GetAll(RouteData.Values["id"].CheckInt(1)))
                                           {%>
                                        <table width="200" height="24" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="24" class="style6">
                                                    &nbsp;
                                                </td>
                                                <td width="152" class="style15">
                                                    <% if (Model.Id == item.Id)
                                                       {%>
                                                    <div align="left" class="style26">
                                                        <%=item.Name %><%}
                                                       else
                                                       { %>
                                                        <div align="left">
                                                            <a href="<%=Url.Action("Index",new{id=item.MenuId,min=item.Id }) %>" class="style29">
                                                                <%=item.Name %></a>
                                                            <% } %>
                                                        </div>
                                                </td>
                                                <td width="24" class="style15">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                        </table>
                                        <table width="216" height="1" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="17">
                                                </td>
                                                <td width="184" background="<%=ResolveUrl("~/Content/images/3.gif")%>">
                                                </td>
                                                <td width="15">
                                                </td>
                                            </tr>
                                        </table>
                                        <% } %>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="9" background="<%=ResolveUrl("~/Content/images/3_22.jpg")%>">
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="23">
                            &nbsp;
                        </td>
                        <td width="748" align="center" valign="top">
                            <table width="748" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="45">
                                        <img src="<%=ResolveUrl("~/Content/images/6_03.gif")%>" width="45" height="25">
                                    </td>
                                    <td width="700" class="sectionTitle">
                                        <div align="left" class="style18 style34 ">
                                            <%=Model.Name %>
                                        </div>
                                    </td>
                                    <td width="100">
                                        <img src="<%=ResolveUrl("~/Content/images/6_04.gif")%>" width="100" height="25">
                                    </td>
                                </tr>
                            </table>
                            <table width="748" height="20" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                            <table width="650" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td valign="top">
                                        <div align="left" class="style1">
                                            <%=Model.CommonContentInfo.DetailContent %>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
